{config_load file="$language/affiliate.conf" section="affiliate_clicks"}
<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">{#heading_title#}</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<div class="content-text">
<div class="page-block">
	<span class="page-block-title">{#text_affiliate_header#}{$affiliate_clickthroughs_split_number}</span>
</div>

<table width="100%">
      <tr>
        <td class="aff-stat-td aff-stat-td-right"><b>{#table_heading_date#}</b></td>
 	    <td class="aff-stat-td aff-stat-td-right"><b>{#table_heading_clicked_product#}</b></td>
	    <td class="aff-stat-td"><b>{#table_heading_referred#}</b></td>
      </tr>
      {if $affiliate_clickthrough_table neq ''}
        {$affiliate_clickthrough_table}
      {else}
        <tr><td class="aff-stat-td" colspan="6">{#text_no_clicks#}</td></tr>
      {/if}
      </tr>
      <tr>
        <td colspan="4">
			<table width="100%">
		  <tr>
	        <td class="aff-stat-td">{$affiliate_clickthroughs_split_count}</td>
	        <td class="aff-stat-td">{$affiliate_clickthroughs_split_links}</td>
	      </tr>
	    </table>
	</td>
	  </tr>
</table>
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>